import request from '@/utils/request'
// 注册接口
export const register = function (data) {
  return request.post('/user/registered', data)
}
// 登录接口
export const login = function (data) {
  return request.post('/user/login', data)
}
